//
//  RoutePlanningTravelTopView.h
//  didacar
//
//  Created by imac on 15/12/20.
//  Copyright © 2015年 dzmmac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ResponseLineDetailModel.h"
#import "CommoneTools.h"

@protocol RoutePlanningTravelDelegate <NSObject>

-(void)secureAction;
-(void)belateBtnAction;
-(void)showTicketAction;

@end

@interface RoutePlanningTravelTopView : UIView


@property (assign, nonatomic) id<RoutePlanningTravelDelegate> delegate;

@property (strong, nonatomic) IBOutlet UILabel *statusLabel;

// 开始时间
@property (weak, nonatomic) IBOutlet UILabel *startTime;
// 起始地点
@property (weak, nonatomic) IBOutlet UILabel *startLocation;
// 结束地点
@property (weak, nonatomic) IBOutlet UILabel *endLocation;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *line_layout_height;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *line1_layout_height;



@property (weak, nonatomic) IBOutlet UIImageView *startImg;

@property (weak, nonatomic) IBOutlet UIImageView *endImg;

// 距离
@property (weak, nonatomic) IBOutlet UILabel *kilometerTime;

- (IBAction)secureAction:(UIButton *)sender;
- (IBAction)belateBtnAction:(UIButton *)sender;

@property (strong, nonatomic) IBOutlet UIButton *showTicket;
- (IBAction)showTicketAction:(UIButton *)sender;

-(void)showHeaderData:(ResponseLineDetailModel *)responseLineDetailModel;

+(RoutePlanningTravelTopView *)getRoutePlanningTravelTopView;


@end
